package com.ruoyi.system.domain.zhuangxiumain.orderformMain;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 线下支付订单凭证对象 order_voucher
 *
 * @author 张少丛
 * @date 2021-01-06
 */
public class OrderVoucher extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 线下支付订单凭证ID */
    private Long orderVoucherId;

    /** 订单ID */
    @Excel(name = "订单ID")
    private Long orderMasterId;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String orderVoucherUrl;

    private String img0;
    /** 上传时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上传时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date orderVoucherTime;

    private String voucherType;

    public void setOrderVoucherId(Long orderVoucherId)
    {
        this.orderVoucherId = orderVoucherId;
    }

    public Long getOrderVoucherId()
    {
        return orderVoucherId;
    }
    public void setOrderMasterId(Long orderMasterId)
    {
        this.orderMasterId = orderMasterId;
    }

    public Long getOrderMasterId()
    {
        return orderMasterId;
    }
    public void setOrderVoucherUrl(String orderVoucherUrl)
    {
        this.orderVoucherUrl = orderVoucherUrl;
    }

    public String getOrderVoucherUrl()
    {
        return orderVoucherUrl;
    }
    public void setOrderVoucherTime(Date orderVoucherTime)
    {
        this.orderVoucherTime = orderVoucherTime;
    }

    public Date getOrderVoucherTime()
    {
        return orderVoucherTime;
    }

    public String getImg0() {
        return img0;
    }

    public void setImg0(String img0) {
        this.img0 = img0;
    }

    public String getVoucherType() {
        return voucherType;
    }

    public void setVoucherType(String voucherType) {
        this.voucherType = voucherType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("orderVoucherId", getOrderVoucherId())
                .append("orderMasterId", getOrderMasterId())
                .append("orderVoucherUrl", getOrderVoucherUrl())
                .append("orderVoucherTime", getOrderVoucherTime())
                .append("img0", getImg0())
                .toString();
    }
}
